<?php
/**
 * CEOfox
 *
 * @copyright  Copyright 2011-2012 CEOfox, Inc.
 * @license    http://ceofox.com/pages/license
 * @version    $Id: follow.html.php 47081 2013-05-24 09:40:17 $
 * @author     CEOfox, Inc.
 */
?>

<script>$Core.loadStaticFile('{$sCoreUrl}module/follow/static/css/default/default/follow.css')</script>
<script>$Core.loadStaticFile('{$sCoreUrl}module/friend/static/css/friend.css')</script>
<ul class="follow_profile">
    <li><a href="{$aUser.user_link}/follow/#follower" class="uppercase"><strong>{$iFollower}</strong> {phrase var ='follow.followers'}</a> </li>    
    <li><a href="{$aUser.user_link}/follow/#following" class="uppercase"><strong>{$iFollowing}</strong> {phrase var='follow.following'} </a></li>
{if !isset($sError)}
    {if !$bIsCurrentUser and $bIsLogin}
        {if $bIsFollow == false}
            <li style="border-left:border-left: 1px solid #E8E8E8;">
                <a class="follow-inline-btn follow_user_{$aUser.user_id}" href="{url link='follow.add' id=Phpfox::getUserId() type=$sType oid=$aUser.user_id}"><span class="following follow-button" style="float:right;margin-top:7px;text-decoration: none;">{phrase var='follow.follow'}</span></a></li>
                
                <a style="display: none;" class="follow-inline-btn unfollow_user_{$aUser.user_id}" href="{url link='follow.del' id=Phpfox::getUserId() type=$sType oid=$aUser.user_id}"><span class="following follow-button" style="float:right;margin-top:7px;text-decoration: none;">{phrase var='follow.unfollow'}</span></a></li>
        {else}
            <li style="border-left:border-left: 1px solid #E8E8E8;">
                <a class="follow-inline-btn unfollow_user_{$aUser.user_id}" href="{url link='follow.del' id=Phpfox::getUserId() type=$sType oid=$aUser.user_id}"><span class="following follow-button" style="float:right;margin-top:7px;text-decoration: none;">{phrase var='follow.unfollow'}</span></a></li>
                
                <a style="display: none;" class="follow-inline-btn follow_user_{$aUser.user_id}" href="{url link='follow.add' id=Phpfox::getUserId() type=$sType oid=$aUser.user_id}"><span class="following follow-button" style="float:right;margin-top:7px;text-decoration: none;">{phrase var='follow.follow'}</span></a></li>
            
        {/if}
    {/if}
{/if}
<div class="clear"></div>
</ul>
